package com.heima.wemedia.feign;

import com.heima.model.common.dtos.ResponseResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
@FeignClient("heima-leadnews-admin")
@RequestMapping("/api/v1/channel")
public interface ChannelFeign {
    /**
     * 查询所有的频道
     * @return
     */
    @PostMapping("/findAll")
    public ResponseResult findAllChannel();
}
